package org.jparrow.framework;

import org.jparrow.framework.helper.AOPHelper;
import org.jparrow.framework.helper.BeanHelper;
import org.jparrow.framework.helper.ClassHelper;
import org.jparrow.framework.helper.ControllerHelper;
import org.jparrow.framework.helper.IOCHelper;
import org.jparrow.framework.util.ClassUtil;

/**
 * 
 * 加载相应的Helper类
 * 
 * @author supda
 * @date 2017-3-26
 *
 */
public class HelperLoader {

	public static void init(){
		System.out.println("初始化Jparrow框架开始..........");
		Class<?>[] classList = {
				ClassHelper.class,
				BeanHelper.class,
				AOPHelper.class,
				IOCHelper.class,
				ControllerHelper.class
		};
		
		for(Class<?> cls : classList) {
			ClassUtil.loadClass(cls.getName());
		}
		System.out.println("初始化Jparrow框架结束..........");
	}
}
